/**
 *	html/monitor/center/scene/panel_system.js
 *
 *	(C) 2014 Yuanjj
 *
 * 	history:
 * 		2014-08-28		create the file
 */

/**
 *	create the system panel
 *
 *	@panel_center		[in] the center panel object
 *	@showflag			[in] the show flag ( "show" or "hide" )
 */
function create_system_panel( panel_center, showflag )
{
    var panel = new Ext.panel.Panel
    ({
         id:"panel_c_system",
         layout:"vbox",
         flex:1,
         width:"100%",
         listeners:{ afterrender:_create_system_component }
    });

    if ( "show" === showflag ) panel.show();
    else panel.hide();

    panel_center.add_subpanel( panel );
}

/**
 *	create system component
 */
function _create_system_component()
{

}
